/**
 * @author MIAO
 * Created on 2011-10-9
 * For more information, please visit:ismiao.com
 */
package com.ismiao.designPattern.Observer;

import java.util.Observable;
import java.util.Observer;
//观察者
public class Watcher implements Observer {

	@Override
	public void update(Observable arg0, Object arg1) {
		System.out.println("Update() called, count is " +
			((Integer)arg1).intValue());

	}

}
